/**   
 * @Title: DataTypesException.java 
 * @Package com.enchantin.spring.reqcheck.exception 
 * @Description: TODO
 * @author weiwei
 * @date 2015-5-19 下午12:58:50 
 * @version V1.0   
 */
package com.yitong.spring.reqcheck.exception;

/**
 * @author weiwei
 * @Date 2015-5-19
 */
public class DataTypesException extends Exception {

	private static final long serialVersionUID = 1L;
	
	private String msg;
	
	private String err;

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @param msg the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * @return the err
	 */
	public String getErr() {
		return err;
	}

	/**
	 * @param err the err to set
	 */
	public void setErr(String err) {
		this.err = err;
	}
	
	public DataTypesException(String err, String msg){
		super(err);
		this.err = err;
		this.msg = msg;
	}
}
